Keycloak REST Services 1.2.0.Final

Path: / admin / realms / {realm} / clients-by-id / {app-name} / user-sessions

Return a list of user sessions associated with this client

Path parameters:
realm - realm name (not id!)
app-name -

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/clients-by-id/{app-name}/user-sessions?first=…&max=…Return a list of user sessions associated with this client

Method Detail

GET /admin/realms/{realm}/clients-by-id/{app-name}/user-sessions

Return a list of user sessions associated with this client

HTTP Example:
GET /admin/realms/{realm}/clients-by-id/{app-name}/user-sessions?first=…&max=…
API Example:

ClientResource.getUserSessions({'first': /* Return a list of user sessions associated with this client */,
  'max': /* Return a list of user sessions associated with this client */,
  'realm': /* name realm name (not id!) */,
  'app-name': /* name */});

Output:
List<UserSessionRepresentation> -
Query parameters:
first
max
Produces:
application/json

Keycloak REST Services 1.2.0.Final